package com.swz.gen.domain;

/**
 * @author : 苏文致
 * @date Date : 2025年02月06日 15:38
 * @Description:
 */
public class ColumnInfo {

    private boolean isPrimaryKey;
    private String name;
    private String property;
    private String jdbcType;
    private String javaType;
    private String dbRemark;

    public ColumnInfo (boolean isPrimaryKey, String name, String property, String jdbcType, String javaType, String dbRemark){
        this.isPrimaryKey = isPrimaryKey;
        this.name = name;
        this.property = property;
        this.jdbcType = jdbcType;
        this.javaType = javaType;
        this.dbRemark = dbRemark;
    }

    public boolean getIsPrimaryKey (){
        return isPrimaryKey;
    }

    public void setPrimaryKey (boolean primaryKey){
        isPrimaryKey = primaryKey;
    }

    public String getName (){
        return name;
    }

    public void setName (String name){
        this.name = name;
    }

    public String getProperty (){
        return property;
    }

    public void setProperty (String property){
        this.property = property;
    }

    public String getJdbcType (){
        return jdbcType;
    }

    public void setJdbcType (String jdbcType){
        this.jdbcType = jdbcType;
    }

    public String getJavaType (){
        return javaType;
    }

    public void setJavaType (String javaType){
        this.javaType = javaType;
    }

    public String getDbRemark (){
        return dbRemark;
    }

    public void setDbRemark (String dbRemark){
        this.dbRemark = dbRemark;
    }
}
